package com.hyy.springbootblog.service;

import com.hyy.springbootblog.common.pojo.request.UserLoginParam;
import com.hyy.springbootblog.common.pojo.response.UserInfoResponse;
import com.hyy.springbootblog.common.pojo.response.UserLoginResponse;
import jakarta.validation.constraints.NotNull;

public interface UserService {

    UserLoginResponse login(UserLoginParam userLoginParam);

    UserInfoResponse getUserInfo(@NotNull Integer userId);

    UserInfoResponse getAuthorInfo(@NotNull Integer blogId);
}
